Accusoft.ImagXpress12.ActiveX
Enable Exceptions
See Also Send Feedback
ImagXpress 12 for ActiveX - User Guide > How To > Configure ImagXpress > Enable Exceptions

Glossary Item Box

Set the RaiseExceptions property to enable or disable raising exceptions when an error is encountered. 

Even if RaiseExceptions is set to False, the ImagError  property (read-only) can be queried to determine if an error has occurred, or DisplayError can be set to True, to enable the error to display on the screen when raised. 

VB Example Copy Code
' Display an error
ImagXpress1.FileName = "c:\Images\Test.jpg"
IErr = ImagXpress1.ImagError
If IErr<>0 Then
     MsgBox("Load Failed: Error #" & IErr)
End If 

See Also

©2013. Accusoft Corporation. All Rights Reserved.